projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d26bfa7
)
rockchip: use puts instead of printf when back to bootrom
author
Andy Yan
<
[email protected]
>
Mon, 24 Jul 2017 09:52:01 +0000
(17:52 +0800)
committer
Philipp Tomsich
<
[email protected]
>
Thu, 27 Jul 2017 12:59:04 +0000
(14:59 +0200)
printf will increase the code size more than 1kb, but platform
like rk3036 has no enough space for it.
Signed-off-by: Andy Yan <
[email protected]
>
Acked-by: Philipp Tomsich <
[email protected]
>
Reviewed-by: Philipp Tomsich <
[email protected]
>
arch/arm/mach-rockchip/bootrom.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/bootrom.c
b/arch/arm/mach-rockchip/bootrom.c
index da36f9269729c02b3721691d982653ea786a0b83..4ca996231015a38cd0a5c05e288d28be73c4b284 100644
(file)
--- a/
arch/arm/mach-rockchip/bootrom.c
+++ b/
arch/arm/mach-rockchip/bootrom.c
@@
-9,8
+9,8
@@
void back_to_bootrom(void)
{
-#if defined(CONFIG_SPL_LIB
GENERIC
_SUPPORT) && !defined(CONFIG_TPL_BUILD)
- p
rintf
("Returning to boot ROM...");
+#if defined(CONFIG_SPL_LIB
COMMON
_SUPPORT) && !defined(CONFIG_TPL_BUILD)
+ p
uts
("Returning to boot ROM...");
#endif
_back_to_bootrom_s();
}